<?php
namespace Index\Controller;

use Think\Controller;

class IndexController extends Controller {
    public function index()
    {
        echo 1;
    }

    public function get()
    {
        echo 'get方法...';
    }
}